package com.gjy.spring.service;

import com.gjy.spring.aspect.OperationAudit;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

/**
 * @author gjy
 * @version 1.0
 * @since 2025-03-03 19:20:02
 */
@Service
public class AopService {

    private static final Logger log = LoggerFactory.getLogger(AopService.class);

    @OperationAudit(operationCode = "ORDER_STATUS_UPDATE", description = "'订单状态更新: ' + #orderNo", preState = "#oldStatus", postState = "#newStatus")
    public void updateOrderStatus(String orderNo, String oldStatus, String newStatus) {
    }

}
